package com.flower.service;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixProperty;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "client-order",fallback = FallbackMethodOrder.class) //value 我们要调用的微服务的名称
public interface OrderFeign {
    @RequestMapping("/getOrder")
     Object getOrder();
}
